package com.pinusmusic.domain;
/*
评论
 */
public class Comment {
    private Integer cid;//评论编号
    private Integer mid;//歌曲编号
    private String commenttext;//评论内容
    private Integer uid;//用户编号
    private String data;//评论时间

    public Comment(Integer cid, Integer mid, String commenttext, Integer uid, String data) {
        this.cid = cid;
        this.mid = mid;
        this.commenttext = commenttext;
        this.uid = uid;
        this.data = data;
    }

    public Comment() {
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getCommenttext() {
        return commenttext;
    }

    public void setCommenttext(String commenttext) {
        this.commenttext = commenttext;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "cid=" + cid +
                ", mid=" + mid +
                ", commenttext='" + commenttext + '\'' +
                ", uid=" + uid +
                ", data='" + data + '\'' +
                '}';
    }
}
